package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.AnswerRecord;
import com.hznu.jspFinal.entity.Exam;
import com.hznu.jspFinal.entity.ExamRecord;

import java.util.List;

public interface ExamRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExamRecord record);

    int insertSelective(ExamRecord record);

    ExamRecord selectByPrimaryKey(Integer id);

    List<ExamRecord> selectByStudent(AnswerRecord answerRecord);

    ExamRecord selectByExercise(AnswerRecord answerRecord);

    int updateByPrimaryKeySelective(ExamRecord record);

    int updateByPrimaryKey(ExamRecord record);

    int updateByAnswerrecordidSelective(ExamRecord examRecord);


}